import request from "@/utils/back-request";

export function operateSave(data) {
  return request({
    url: "/api-career/data/center/operate/save",
    method: "post",
    data,
  });
}

//超级token登录获取
export function getSuperToken(params) {
  console.log(params);
  return request({
    url: "/api-auth/oauth/token",
    method: "post",
    headers: {
      "Content-Type": "application/x-www-form-urlencoded",
    },
    data: params,
  });
}
//登录埋点（仅用做登录）
export function burryPointForLogin(data) {
  return request({
    url: "/api-career/zt/login/burry/point",
    method: "post",
    data,
  });
}
//通用埋点(具体看在线文档 https://doc.weixin.qq.com/sheet/e3_ADMAtAa_AD0Mih0V8c1ThG2PLU7V2?scode=ADQA1gcCAAkqVMY4i4AZkAYQZdAA4&tab=BB08J2)
export function addBuryingPoint(data) {
  return request({
    url: "/api-career/event/stat/add/burying/point",
    method: "post",
    data,
  });
}
